package org.gis.mapserver.layer.element;

/**
 *
 * @author gus
 */
public class Angle implements Comparable<Angle>
{
    public final Double degrees;

    public Angle( double degrees )
    {
        this.degrees = degrees;
    }
    public static Angle ZERO = new Angle(0);
    public static Angle POS_90 = new Angle(90.0);
    public static Angle NEG_90 = new Angle(-90.0);

    public int compareTo( Angle angle )
    {
        return degrees.compareTo(angle.degrees);
    }
}
